package cn.diancan.service;

import java.util.List;

import cn.diancan.exception.OutMsgException;
import cn.diancan.model.Brand;
import cn.diancan.vo.other.Pager;


public interface BrandService {
    
    
    public Brand saveBrand(String brandName,String brandLogo) throws OutMsgException,Exception; 
    
    
    public boolean updateBrand(Long id,String brandName,String brandLogo)throws OutMsgException,Exception;
    
    
    public Brand findBrandById(Long id )throws OutMsgException; 
    
    
    public Pager findByPager(Pager pager ,String brandName)throws OutMsgException;
    
    
    public boolean deleteBrandById(Long id)throws OutMsgException,Exception;
    
    
    public List<Brand> findList(Integer pageNo,Integer row);

}
